package com.aabte.design.pattern.behavioral.command;

public class CourseVideo {

    private String name;

    public CourseVideo(String name) {
        this.name = name;
    }

    public void open(){
        System.out.println(this.name + " - 课程视频打开.");
    }

    public void close(){
        System.out.println(this.name + " - 课程视频关闭.");
    }
}
